package com.yycx.common.base.service;

import com.yycx.common.base.entity.EntityMap;

/**
 * APP账户全局接口
 *
 * @author Administrator
 */
public interface BaseAppAccountService {

    /**
     * 查询account
     *
     * @param userId
     * @param accountType
     * @return
     */
    EntityMap getAppAccount(Long userId, String accountType);

    /**
     * 跟用户用户名删除用户token
     *
     * @param userName
     * @return
     */
    Boolean deleteUserToken(String userName);

    /**
     * 跟用户用户名删除用户token
     *
     * @param userName
     * @return
     */
    Boolean deleteUserToken(String clientId,String userName);
}
